<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<!-- 
Copyright (c) 2008 Matthew Johnson
Licensed under the MIT License (see license.txt)	
-->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Group Counseling</title>
<script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
</head>

<body>
	
<!-- {NAV} -->
<ul class="nav">
	<li>Markup
		<ul>
			<li><a href="getting_started.html">Getting started</a></li>
			<li><a href="attributes.html">Elements and attributes</a></li>
			<li><a href="actions.html">Events and actions</a></li>
			<li><a href="tweens.html">Tweens</a></li>
			<!--<li><a href="more_tweens.html">More tweens</a></li>-->
			<li><a href="custom_actions.html">Custom actions</a></li>
		</ul>
	</li>
	<li>Widgets
		<ul>
			<li><a href="buttons.html">Buttons</a></li>
			<li><a href="more_buttons.html">More buttons (and tabs)</a></li>
			<li><a href="filmstrip.html">Filmstrip</a></li>
			<li><a href="popup.html">Popup</a></li>
			<li><a href="drag_and_drop.html">Drag and drop</a></li>
			<li><a href="slider.html">Slider</a></li>
			<li><a href="scrollable_text.html">Scrollable text</a></li>
			<li><a href="media_controller.html">Media controller</a></li>
			<li><a href="video.html">Video</a></li>
		</ul>
	</li>
	<li>Example Media
		<ul>
			<li><a href="theories_and_assumptions/theories_and_assumptions.html">Tabs with drag and drop</a></li>
			<li><a href="group_counseling/group_counseling.html">Multiple videos with drag and drop</a></li>
		</ul>
	</li>
	<li><a href="cheatsheet.pdf">Cheatsheet</a></li>
	<li><a href="release_notes.html">Release Notes</a></li>
</ul>
<!-- {/NAV} -->
	
<h1>Group Counseling</h1>

<h2>Multiple videos with drag and drop</h2>
<p>
<script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','778','height','471','src','group_counseling/problemclient','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','group_counseling/problemclient' ); //end AC code
  </script>
  <noscript>
  <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="778" height="471">
    <param name="movie" value="group_counseling/problemclient.swf" />
    <param name="quality" value="high" />

    <embed src="group_counseling/problemclient.swf" width="778" height="471" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash"></embed>
  </object>
  </noscript>
</p>
Download the fla for this example <a href="group_counseling/problemclient.fla">here</a>.
</p>
<p><pre>
&lt;MediaPiece&gt;
	&lt;actions 	
		playVideo=&quot;theVideoCover.playHide,
					controllerCover.playHide,
					video.takeTitleFromLabel,
					video.takeSource,
					video.playMedia&quot; 
	/&gt;
	&lt;tweens&gt;
		&lt;hide alpha=&quot;0&quot; /&gt;
	&lt;/tweens&gt;
	&lt;video /&gt;
	&lt;theVideoCover onHideComplete=&quot;moveToBack&quot; /&gt;
	&lt;mediaController target=&quot;video&quot; /&gt;
	&lt;controllerCover onHideComplete=&quot;moveToBack&quot; /&gt;
	&lt;member1Button label=&quot;SITUATION #1&quot; onClick=&quot;playVideo&quot;
		URL=&quot;rtmp://deu12a26ae.rtmphost.com/FLVPlayer_Course&quot;
		source=&quot;hs8741v1_du.flv&quot;
		source112=&quot;hs8741v1_dsl.flv&quot;
		source512=&quot;hs8741v1_bb.flv&quot; 
	/&gt;
	&lt;member2Button label=&quot;SITUATION #2&quot; onClick=&quot;playVideo&quot;
		URL=&quot;rtmp://deu12a26ae.rtmphost.com/FLVPlayer_Course&quot;
		source=&quot;hs8741v2_du.flv&quot;
		source112=&quot;hs8741v2_dsl.flv&quot;
		source512=&quot;hs8741v2_bb.flv&quot;
	/&gt;
	&lt;member3Button label=&quot;SITUATION #3&quot; onClick=&quot;playVideo&quot;
		URL=&quot;rtmp://deu12a26ae.rtmphost.com/FLVPlayer_Course&quot;
		source=&quot;hs8741v3_du.flv&quot;
		source112=&quot;hs8741v3_dsl.flv&quot;
		source512=&quot;hs8741v3_bb.flv&quot;
	/&gt;
	&lt;member4Button label=&quot;SITUATION #4&quot; onClick=&quot;playVideo&quot;
		URL=&quot;rtmp://deu12a26ae.rtmphost.com/FLVPlayer_Course&quot;
		source=&quot;hs8741v4_du.flv&quot;
		source112=&quot;hs8741v4_dsl.flv&quot;
		source512=&quot;hs8741v4_bb.flv&quot;
	/&gt;
	&lt;member5Button label=&quot;SITUATION #5&quot; onClick=&quot;playVideo&quot;
		URL=&quot;rtmp://deu12a26ae.rtmphost.com/FLVPlayer_Course&quot;
		source=&quot;hs8741v5_du.flv&quot;
		source112=&quot;hs8741v5_dsl.flv&quot;
		source512=&quot;hs8741v5_bb.flv&quot;
	/&gt;
	&lt;member6Button label=&quot;SITUATION #6&quot; onClick=&quot;playVideo&quot;
		URL=&quot;rtmp://deu12a26ae.rtmphost.com/FLVPlayer_Course&quot;
		source=&quot;hs8741v6_du.flv&quot;
		source112=&quot;hs8741v6_dsl.flv&quot;
		source512=&quot;hs8741v6_bb.flv&quot;
	/&gt;
	&lt;member7Button label=&quot;SITUATION #7&quot; onClick=&quot;playVideo&quot;
		URL=&quot;rtmp://deu12a26ae.rtmphost.com/FLVPlayer_Course&quot;
		source=&quot;hs8741v8_du.flv&quot;
		source112=&quot;hs8741v8_dsl.flv&quot;
		source512=&quot;hs8741v8_bb.flv&quot;
	/&gt;
	&lt;member8Button label=&quot;SITUATION #8&quot; onClick=&quot;playVideo&quot;
		URL=&quot;rtmp://deu12a26ae.rtmphost.com/FLVPlayer_Course&quot;
		source=&quot;hs8741v9_du.flv&quot;
		source112=&quot;hs8741v9_dsl.flv&quot;
		source512=&quot;hs8741v9_bb.flv&quot;
	/&gt;

	&lt;leaderDragItem label=&quot;Get-the-Leader Member&quot; shuffleGroup=&quot;dragItems&quot; dropTargets=&quot;dropArea4&quot; onDropHit=&quot;focusIndicator.show,removeFilters&quot;/&gt;	
	&lt;chronicDragItem label=&quot;The Chronic Talker&quot; shuffleGroup=&quot;dragItems&quot; dropTargets=&quot;dropArea1&quot; onDropHit=&quot;focusIndicator.show,removeFilters&quot;/&gt;	
	&lt;rescuerDragItem label=&quot;The Rescuer&quot; shuffleGroup=&quot;dragItems&quot; dropTargets=&quot;dropArea2&quot; onDropHit=&quot;focusIndicator.show,removeFilters&quot;/&gt;	
	&lt;distracterDragItem label=&quot;The Distracter&quot; shuffleGroup=&quot;dragItems&quot; dropTargets=&quot;dropArea3&quot; onDropHit=&quot;focusIndicator.show,removeFilters&quot;/&gt;	
	&lt;negativeDragItem label=&quot;Negative Member&quot; shuffleGroup=&quot;dragItems&quot; dropTargets=&quot;dropArea5&quot; onDropHit=&quot;focusIndicator.show,removeFilters&quot;/&gt;
	&lt;resistantDragItem label=&quot;Resistant Member&quot; shuffleGroup=&quot;dragItems&quot; dropTargets=&quot;dropArea6&quot; onDropHit=&quot;focusIndicator.show,removeFilters&quot;/&gt;
	&lt;dominatorDragItem label=&quot;The Dominator&quot; shuffleGroup=&quot;dragItems&quot; dropTargets=&quot;dropArea7&quot; onDropHit=&quot;focusIndicator.show,removeFilters&quot;/&gt;
	&lt;tearfulDragItem label=&quot;Tearful Co-Therapist&quot; shuffleGroup=&quot;dragItems&quot; dropTargets=&quot;dropArea8&quot; onDropHit=&quot;focusIndicator.show,removeFilters&quot;/&gt;

	&lt;DropTarget instanceName=&quot;dropArea1&quot; /&gt;
	&lt;DropTarget instanceName=&quot;dropArea2&quot; /&gt;
	&lt;DropTarget instanceName=&quot;dropArea3&quot; /&gt;
	&lt;DropTarget instanceName=&quot;dropArea4&quot; /&gt;
	&lt;DropTarget instanceName=&quot;dropArea5&quot; /&gt;
	&lt;DropTarget instanceName=&quot;dropArea6&quot; /&gt;
	&lt;DropTarget instanceName=&quot;dropArea7&quot; /&gt;
	&lt;DropTarget instanceName=&quot;dropArea8&quot; /&gt;
&lt;/MediaPiece&gt;
</pre></p>
<p>

</p>
</body>
</html>
